package com.osgc.rf.np.util;

import java.io.Serializable;

import com.inca.np.gui.control.DBTableModel;

public class ActionInfo implements Serializable {

	private static final long serialVersionUID = 7465487925624932999L;

	DBTableModel dbinfo;

	protected int row;

	public int getRow() {
		return row;
	}

	public void setRow(int row) {
		this.row = row;
	}

	public DBTableModel getDbinfo() {
		return dbinfo;
	}

	public void setDbinfo(DBTableModel dbinfo) {
		this.dbinfo = dbinfo;
	}

	public String get(String colname) {
		try {
			return dbinfo.getItemValue(row, colname);
		} catch (Exception e) {
		}
		return null;
	}
}
